package com.techsoul.module.pms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.techsoul.module.pms.pojo.param.TbWmsShareInventoryOrderItemSaveParam;
import com.techsoul.module.pms.pojo.param.TbWmsShareInventoryOrderItemSearchParam;
import com.techsoul.module.pms.pojo.vo.TbWmsShareInventoryOrderItemVo;

import java.util.List;

/**
 * 共享仓库调货 Service接口
 * 
 * @author liuen
 * @date 2023-01-23
 */
public interface ITbWmsShareInventoryOrderItemService {

    /**
     * 新增
     * @param params
     * @return
     */
    String insert(TbWmsShareInventoryOrderItemSaveParam params);

    /**
     * 删除
     * @param id
     * @return
     */
    Integer delete(String id);

    /**
     * 批量删除
     * @param idList
     */
    Integer batchDelete(List<String> idList);

    /**
     * 修改
     * @param params
     * @return
     */
    Integer update(TbWmsShareInventoryOrderItemSaveParam params);

    /**
     * 详情
     * @param id
     * @return
     */
    TbWmsShareInventoryOrderItemVo findById(String id);

    /**
     * 列表
     * @param params
     * @return
     */
    List<TbWmsShareInventoryOrderItemVo> findAll(TbWmsShareInventoryOrderItemSearchParam params);

    /**
     * 列表-分页
     * @param params
     * @param current
     * @param pageSize
     * @return
     */
    IPage<TbWmsShareInventoryOrderItemVo> findAll(TbWmsShareInventoryOrderItemSearchParam params, Integer current, Integer pageSize);

}
